package dao

import (
	"gorm.io/gorm"
)

type User struct {
	gorm.Model
	Mobile   string `json:"mobile" gorm:"index"`
	Password string `json:"password"`
}

func (u *User) TableName() string {
	return "ao_user"
}
